package com.andaily.domain.cooking;

import com.andaily.domain.account.Account;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Shengzhao Li
 */
public class CookingAccount extends Account {

    private CookingAccountStatus status = CookingAccountStatus.RECORDED;

    private CookingUserGroup group;

    public CookingAccount() {
    }

    public CookingAccount(BigDecimal amount, Date accountDate, String description) {
        this.amount = amount;
        this.accountDate = accountDate;
        this.description = description;
    }

    public CookingAccountStatus status() {
        return status;
    }

    public void update(BigDecimal amount, Date accountDate, String description) {
        this.amount = amount;
        this.accountDate = accountDate;
        this.description = description;
    }
}
